cc.Class({
    extends: cc.Component,
    properties:{
        _adData:[]
    },

    start() {

    },

    reloadData(adArray) {
        for(var i = 0; i < adArray.length; i++) {
            var adData = {};
            adData['id'] = adArray[i].id;
            adData['as_name'] = adArray[i].as_name;
            adData['probability'] = adArray[i].probability;
            adData['ad_list'] = adArray[i].ad_list;
            adData["dynamic"] = adArray[i].dynamic;
            this._adData.push(adData);
        }
    }
})